import React from 'react';
import styles from './index.less';

const BaseWrapper = ({ title = '基本信息', children, ...rest }) => (
    <div {...rest}>
        <div className={styles.title}>{title}</div>
        {children}
    </div>
);

export default BaseWrapper;
